/*
 * ComponentListener.java  0.4.0 / Oct 24, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.swing.events;

import java.util.EventListener;

/**
 * Component Listener.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public interface ComponentListener extends EventListener {

  /**
   * Notifies listener that the component has moved.
   *
   * @param e the component event
   */
  public void componentMoved(ComponentEvent e);

  /**
   * Notifies listener that the component has resized.
   *
   * @param e the component event
   */
  public void componentResized(ComponentEvent e);

  /**
   * Notifies listener that the component has shown.
   *
   * @param e the component event
   */
  public void componentShown(ComponentEvent e);

  /**
   * Notifies listener that the component has hidden.
   *
   * @param e the component event
   */
  public void componentHidden(ComponentEvent e);

}
